<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8" />
    <title>购物车</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <meta name="format-detection" content="telephone=no" />
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/Css/semantic.css"/>
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/Css/main.css">
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/Css/common.css">
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/Css/light-theme.css">
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/Css/m2015.css" />
    <script src="__PUBLIC__/Js/jquery-3.1.1.min.js"></script>
    <script language="JavaScript" type="text/javascript">
        function changeState(isChecked)
        {
            var chk_list=document.getElementsByTagName("input");
            for(var i=0;i<chk_list.length;i++)
            {
                if(chk_list[i].type=="checkbox")
                {
                    chk_list[i].checked=isChecked;
                }
            }
        }
    </script>

</head>
<style>
    .quanxuan{
        position: fixed;
        bottom: 50px;
        z-index: 2;
        border-top:1px solid #d8dada;
        padding:15px 5px;
        overflow:hidden;
        width: 100%;
    }
    .quanxuan .check-box{
        width: 30%;
        float: left;
        margin-top: 6px;
    }
     .quanxuan .qx-sum{
        width: 70%;
        float: left;
        text-align: right;
     }
</style>
<body>
<div class="accounttitle"><h1>购物车</h1></div>
<div class="wrapper cart_box">
    <form name="form3" id="form_post" method="post" action="__APP__/Gouwu/delBuyList_all">
        <div class="vlist" style="padding: 0;">
            
            <ul>
                <volist name="arr" id="vo" >
                    <li class="cart_one">
                        <div class="check-box">
                            <input type="checkbox" name="oid[]" value="{$info[$vo['id']]['order_id']}" id="oid[]">
                        </div>

                        <label for="basket_3263300"> <img class="list_img" src="{$info[$vo['id']]['img']}">
                            <div class="list_info">
                                <div class="tit c666">
                                    商品名称： {$info[$vo['id']]['name']}
                                </div>
                                <div class="price red2" style="padding-bottom: 35px;">
                                    商品单价：￥
                                    <span> {$info[$vo['id']]['money']}</span>
                                </div>
                                <div class="cls"></div>
                            </div>
                        </label>
                        <p class="qingdan_shul cart_num">购买数量：<span>{$info[$vo['id']]['num']}</span></p>
                        <a href="__APP__/Gouwu/logisticsInfo/oid/{$vo.id}" style="  font-size:18px;  position: absolute;top: 20px;right:23px;color:#bb3a34">
                            <img src="__PUBLIC__/Images/index/dizhi1.png" alt="">
                        </a>
                        <a href="__APP__/Gouwu/delBuyList/id/{$info[$vo['id']]['order_id']}" onClick="{if(confirm('确定删除该购物车订单?')){return true;}return false;}" style="  font-size:14px;  position:color:#f87331"><span class=" btn box-remove btn-mini btn-link cart_del note__close" style="font-size:14px;color:#f87331"">
                            <img src="__PUBLIC__/Images/index/del.png" alt="">
                        </a>
                    </li>
                </volist>
            </ul>
        </div>
        <div style="height: 20px;"></div>
<div class="quanxuan">
    <div class="check-box">
        <input type="radio" onclick="changeState(this.checked)" >
        全选
    </div>
    <div class="qx-sum">
         <!--<span>合计：<span style="color: #bb3a34">&yen;111</span></span> -->
        <input class="back_color bot6" type="submit" name="action" value="结算" style="background: #bb3a34;padding: 6px 25px;margin-left: 5px;">
    </div>
</div>
    </form>
</div>

<include file="Public:footer" />
<script type="text/javascript">
    function aaa(){ 

        var formData = new FormData($('#form_post')[0]);
        $.ajax({
            url: '__URL__/gouwajax',
            type: 'POST',
            cache: false,
            data: formData,
            processData: false,
            contentType: false,
            success:function(data){
              alert(data);
            }
        })
    }
</script> 